package com.medistat.persistance.service.interfaces;

public final class Parameter {

	String name;
	Object value;
	Comparator comparator;
	
	public Parameter(String name, Object value) {
		this.name = name;
		this.value = value;
		this.comparator = Comparator.EQUAL;
	}
	
	public Parameter(String name, Object value, Comparator comparator) {
		this.name = name;
		this.value = value;
		this.comparator = comparator;
	}
	
	public String getName() {
		return name;
	}
	public Object getValue() {
		return value;
	}

	public Object getComparator() {
		return this.comparator;
	}
}
